package com.biyu.monitormanage.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import com.biyu.monitormanage.model.bo.MachineMonitorBo;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 温湿度日志表
 * 
 * @author biyubing
 * @email byb15491665510220@163.com
 * @date 2022-03-12 11:39:22
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("moni_real_time_data")
public class RealTimeDataEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 自增id
	 */
	@TableId
	private Long id;
	/**
	 * 温度
	 */
	private Float temperature;
	/**
	 * 湿度
	 */
	private Float humidity;
	/**
	 * 设备id
	 */
	private String machineId;
	/**
	 * 烟雾传感器
	 */
	private Integer smokeSensor;
	/**
	 * 漏水监测
	 */
	private Integer waterLeakage;
	/**
	 * 红外监测
	 */
	private Integer infraRed;
	/**
	 * 创建时间
	 */
	private Date createAt;
	/**
	 * 更新时间
	 */
	private Date updateAt;
}
